import React from 'react'
import BaseComponent from '../../components/common/baseComponent'
import {
  View,
  Text
} from 'react-native'

import StyleSheet from '../../utils/rzStyleSheet'

import { connect } from 'react-redux'

const styles = StyleSheet.create({
  container: {
    justifyContent: 'flex-start',
    alignItems: 'stretch',
    backgroundColor: 'transparent',
    position: 'absolute',
    left: 0,
    right: 0,
    bottom: 0,
    ios: {
      top: 64
    },
    android: {
      top: 44
    }
  }
})

class Foo extends BaseComponent {
  constructor (props) {
    super(props)
    this.displayName = 'Foo'
  }

  render () {
    return (
      <View style={styles.container}>
        <Text>Foo</Text>
      </View>
    )
  }
}

Foo.propTypes = {
}

Foo.navigationOptions = {
}

function mapStateToProps (state) {
  return {
  }
}

function mapDispatchToProps (dispatch) {
  return {
  }
}

export default connect(mapStateToProps, mapDispatchToProps)(Foo)
